package com.zhu.commentstatisticspublisher.mapper;


import com.zhu.commentstatisticspublisher.bean.EvaluationWindow;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.python.antlr.ast.Str;

import java.util.List;

public interface ClickHouseSelectMapper {

    @Select("select #{start},#{end},sum(count) from dws_interaction_evaluation_window " +
            "where start_time =< #{start} and end_time >=  #{end}")
    EvaluationWindow getEvaluationWindow(@Param("start") String startTime,@Param("end") String endTime);


}
